libreswan: adjust with glibc and libcrypt-compat
authorKonstantin Demin <[email protected]>
Wed, 9 Jul 2025 16:35:40 +0000 (19:35 +0300)
committerJosef Schlehofer <[email protected]>
Mon, 14 Jul 2025 08:40:15 +0000 (10:40 +0200)
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <[email protected]>
net/libreswan/Makefile

index c94c7a7aea875e65297de36a62db6498f50a0c49..0a5de5aaef04c76d2f0bb52db372cc38cfe1bfa8 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libreswan
 PKG_VERSION:=4.12
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://download.libreswan.org/
@@ -38,6 +38,7 @@ endef
 define Package/libreswan
   $(Package/libreswan/default)
   DEPENDS:= \
+         +USE_GLIBC:libcrypt-compat \
          +kmod-ip-vti +IPV6:kmod-ip6-vti \
          +kmod-ipsec +kmod-ipsec4 +IPV6:kmod-ipsec6 \
          +ip-full +kmod-xfrm-interface \